package com.example.librarymanage.service;

import com.example.librarymanage.dao.UserInfoDao;
import com.example.librarymanage.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoDao userInfoDao;
    public UserInfo selectByName(String userName) {
        return userInfoDao.selectByName(userName);
    }
}
